<?php
	include(ROOTPATH .'include'. DS .'protect.php');
	//include(ROOTPATH .'include'. DS .'checkUserLogin.php');
	include(ROOTPATH .'include'. DS .'initUser.php');	

	include "header.php";
	
	
	if( $user_id != 0 )
		$userInfo = $user -> getUser((int)$user_id);
	
	$style = getQuery('searchStyle');
	
	
?>
<script type="text/javascript" src="<?php echo JSLAB_PATH;?>beautyStyle/js/beautyStyle.js"></script>
<link href="<?php echo JSLAB_PATH;?>beautyStyle/images/beautyStyle.css" type="text/css" rel="stylesheet" media="all" />

<script type="text/javascript" src="<?php echo JS_PATH;?>search.js"></script>
</head>
<body>
<?php require('top.php'); ?>
<div class="pos">	
    <div class="contents">
    	<?php require('nav.php'); ?>   
        <h2 class="title">搜索: <b class="high"><?php echo $searchKey; ?></b></h2>
        <div id="search" class="search mediaList">
            
                <?php
					echo $search -> getFileList($searchKey,$style);
				?>
            
        </div>
    </div><!-- .contents-->
</div>

<?php require('footer.php'); ?>

</body>
</html>
